package com.example.saifly.Model;

//存储今日事项的每一项事项的内容
public class DailyPlans implements Comparable<DailyPlans> {
    String content_title;
    String content_time;
    String status;
    int status_color;
    Integer planId;

    public DailyPlans() {

    }

    public DailyPlans(String content_title, String content_time, Integer planId) {
        this.content_title = content_title;
        this.content_time = content_time;
        this.planId = planId;
    }

    public DailyPlans(String content_title, String content_time, String status, int status_color, Integer planId) {
        this.content_title = content_title;
        this.content_time = content_time;
        this.status = status;
        this.status_color = status_color;
        this.planId = planId;
    }

    public String getContent_title() {
        return content_title;
    }

    public void setContent_title(String content_title) {
        this.content_title = content_title;
    }

    public String getContent_time() {
        return content_time;
    }

    public void setContent_time(String content_time) {
        this.content_time = content_time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public int getStatus_color() {
        return status_color;
    }

    public void setStatus_color(int status_color) {
        this.status_color = status_color;
    }

    public Integer getPlanId() {
        return planId;
    }

    public void setPlanId(Integer planId) {
        this.planId = planId;
    }

    @Override
    public int compareTo(DailyPlans o) {
        return this.getContent_time().compareTo(o.getContent_time());
    }
}
